import request from "../utils/request";

// 首页列表页渲染
export const firstitem = () => {
  return request({
    method: "GET",
    url: "/categoryMenu/getAll",
  });
};
// 首页列表子项目
export const firstitemList = () => {
  return request({
    method: "GET",
    url: "/categoryMenu/getButtonAll",
  });
};

// 登录
export const Login = (data) => {
  return request({
    method: "POST",
    url: "auth/login",
    params: data,
  });
};
